.hero-section {
    padding: 8rem 5rem 4rem 5rem;
    background-color: black;
}

.hero-content {
    display: flex;
    gap: 8rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: row;
}

.hero-text {
    flex: 2;
    order: 1;
    text-align: left;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-family: 'Roboto Mono', monospace;
    text-align: left;
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--white);
    font-family: 'Roboto', 'Roboto Mono', Arial, sans-serif;
    text-align: left;
}

.hero-image {
    flex: 1.5;
    order: 2;
}

.hero-image img {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.collage-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 4rem 0;
}

.collage-container {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 0;
    position: relative;
}

.collage-img {
    width: 350px;
    max-width: 90vw;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    object-fit: cover;
    position: relative;
}

.img2 { margin-left: -60px; z-index: 2; }
.img3 { margin-left: -120px; z-index: 3; }
.img4 { margin-left: -60px; z-index: 2; }
.img5 { margin-left: 0px; z-index: 1; }

/* Mobile hero image section - only visible on mobile */
.mobile-hero-image-section {
    display: none;
}

.mobile-hero-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.mobile-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hide desktop-only elements on mobile */
.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1.5rem 2rem 1.5rem; /* Added more top padding for spacing with nav */
        min-height: auto; /* Remove min-height */
        background-color: black;
    }
    
    .hero-content {
        display: block; /* Changed from flex to block for normal flow */
        text-align: center;
        width: 100%;
        max-width: none;
    }
    
    .hero-text {
        width: 100%;
        text-align: center;
        margin-bottom: 2rem; /* Add bottom margin for spacing */
        position: static; /* Reset positioning */
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 1rem;
        line-height: 1.5; /* Better line height for readability */
        color: var(--white);
    }
    
    .mobile-book-btn {
        display: block;
        width: 100%;
        text-align: center;
        margin: 0; /* Reset margin */
        position: static; /* Reset positioning */
    }
    
    .hero-book-btn {
        display: none;
    }
    
    /* Hide desktop hero image on mobile */
    .desktop-only {
        display: none;
    }
    
    /* Show mobile hero image section */
    .mobile-hero-image-section {
        display: block;
        background-color: white;
        padding-top: 1rem; /* Add some top padding */
    }
    
    /* Hide collage section on mobile */
    .collage-section {
        display: none;
    }
    
    .collage-text-section {
        margin: 2rem 0 0 0;
    }
    
    .collage-text-container {
        padding: 2rem 1rem;
        margin: 0 1rem;
    }
    
    .collage-text-container h2 {
        font-size: 1.3rem;
    }
    
    .collage-text-container p {
        font-size: 0.9rem;
    }
    
    .purple-btn {
        font-size: 1rem;
        padding: 0.8rem 1.8rem;
    }
}

@media (max-width: 900px) {
    .collage-img {
        width: 180px;
    }
    .img2 { margin-left: -30px; }
    .img3 { margin-left: -60px; }
    .img4 { margin-left: -30px; }
}

.collage-text-section {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 3rem 0 0 0;
}

.collage-text-container {
  max-width: 900px;
  text-align: center;
  color: var(--black);
  background: var(--white);
  padding: 2.5rem 2rem 2.5rem 2rem;
}

.collage-text-container h2 {
  font-size: 1.5rem;
  font-family: 'Roboto Mono', monospace;
  color: var(--primary-color);
  margin-bottom: 1.2rem;
}

.collage-text-container p {
  font-size: 1rem;
  font-family: 'Roboto', 'Roboto Mono', Arial, sans-serif;
  color: var(--black);
  line-height: 1.7;
  margin: 0;
}

.purple-btn {
  display: inline-block;
  margin-top: 2rem;
  background: var(--primary-color);
  color: black;
  font-family: 'Roboto Mono', monospace;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: 2rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}
.purple-btn:hover {
  background: var(--secondary-color);
  color: var(--black);
  transform: translateY(-2px) scale(1.04);
}

/* Hide mobile book button on desktop */
.mobile-book-btn {
    display: none;
}

/* Hero book button styling */
.hero-book-btn {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.hero-book-btn .book-ride-btn {
    display: inline-block;
    background: var(--primary-color);
    color: black;
    font-family: 'Roboto Mono', monospace;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 2rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
}

.hero-book-btn .book-ride-btn:hover {
    background: var(--secondary-color);
    color: var(--black);
    transform: translateY(-2px) scale(1.04);
}

/* Mobile book button styling */
.mobile-book-btn .book-ride-btn {
    display: inline-block;
    background: var(--primary-color);
    color: black;
    font-family: 'Roboto Mono', monospace;
    font-size: 1rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border: none;
    border-radius: 2rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
}

.mobile-book-btn .book-ride-btn:hover {
    background: var(--secondary-color);
    color: var(--black);
    transform: translateY(-2px) scale(1.04);
}

/* Mobile App Section */
.mobile-app-section {
    padding: 4rem 5rem;
    background-color: var(--white);
}

.mobile-app-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    font-family: 'helvetica', sans-serif;
    color: var(--black);
}

.mobile-app-container {
    max-width: 1200px;
    margin: 0 auto;
}

.mobile-app-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.mobile-app-text {
    flex: 1;
}

.mobile-app-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-family: 'Roboto Mono', monospace;
}

.mobile-app-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--black);
    font-family: 'Roboto', Arial, sans-serif;
}

.app-features {
    margin-bottom: 2.5rem;
}

.app-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.app-feature i {
    font-size: 1.2rem;
    color: var(--primary-color);
    min-width: 20px;
}

.app-feature span {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1rem;
}

.app-download-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.app-store-btn,
.play-store-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 0.5rem;
    font-family: 'Roboto Mono', monospace;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.app-store-btn:hover,
.play-store-btn:hover {
    background-color: var(--secondary-color);
    color: var(--black);
    transform: translateY(-2px);
}

.app-store-btn i,
.play-store-btn i {
    font-size: 1.3rem;
}

.mobile-app-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 250px;
    height: 500px;
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--black);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.app-preview {
    padding: 2rem 1.5rem;
    color: var(--white);
}

.app-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--primary-color);
}

.app-logo {
    width: 80px;
    height: auto;
    filter: invert(1);
}

.app-content h4 {
    color: var(--primary-color);
    font-family: 'Roboto Mono', monospace;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.class-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: rgba(138, 86, 240, 0.1);
    border-radius: 8px;
    margin-bottom: 0.8rem;
    border-left: 3px solid var(--primary-color);
}

.class-item .time {
    font-family: 'Roboto Mono', monospace;
    font-weight: bold;
    color: var(--primary-color);
}

.class-item .class-name {
    font-family: 'Roboto', Arial, sans-serif;
    color: var(--white);
}

/* Mobile responsive styles for app section */
@media (max-width: 768px) {
    .mobile-app-section {
        padding: 3rem 1.5rem;
    }
    
    .mobile-app-content {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .mobile-app-text h3 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .mobile-app-text p {
        font-size: 1rem;
        text-align: center;
    }
    
    .app-download-buttons {
        justify-content: center;
    }
    
    .app-store-btn,
    .play-store-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
        padding: 15px;
    }
    
    .app-preview {
        padding: 1.5rem 1rem;
    }
    
    .app-logo {
        width: 60px;
    }
    
    .app-content h4 {
        font-size: 1rem;
    }
    
    .class-item {
        padding: 0.8rem;
    }
}
